package cn.lili.modules.union.service;

import cn.lili.common.vo.PageVO;
import cn.lili.modules.member.entity.dos.UnionLog;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

public interface UnionLogService extends IService<UnionLog> {

    /**
     * 分页查询工会日志
     * @param unionLog
     * @param pageVO
     * @return
     */
    Page<UnionLog> getByPage (UnionLog unionLog, PageVO pageVO);

    /**
     * 记录日志
     * @param unionLog
     * @return
     */
    Boolean addUnionLog (UnionLog unionLog);

    /**
     * 批量日志
     * @param unionLogList
     */
    void batchAddUnionLog (List<UnionLog> unionLogList);
}
